package ${package.Service};

<#--import ${package.Entity}.${entity};-->
import ${superServiceClassPackage};
import com.atguigu.yygh.common.result.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    IPage<${entity}> select${entity}List(${entity} ${table.entityPath});

    Result delete${entity}(Long id);

    Result insert${entity}(${entity} ${table.entityPath});

    Result update${entity}(${entity} ${table.entityPath});
}
</#if>
